import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import '@/styles/index.less'
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';
import { Provider } from 'react-redux';
import store from '@/store'
import { BrowserRouter } from 'react-router-dom';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    <ConfigProvider
        locale={zhCN}
        theme={{
            token: {
                colorPrimary: '#00b96b',
            },
        }}
    >
        <Provider store={store}>
            <BrowserRouter>
                <App />
            </BrowserRouter>
        </Provider>
    </ConfigProvider>
);

